package cn.steel.mapper;

import cn.steel.domain.entity.OrderItem;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface OrderItemMapper {
    List<OrderItem> findByOrderIds(@Param("orderIds") List<Long> orderIds);
    List<OrderItem> findBySupplierId(@Param("supplierId") Long supplierId);
    // 新增订单详情
    int insert(OrderItem orderItem);

}